selectChains
is used to discard 'bad' MCMC chains
from outbreaker's ouptput (functions outbreaker
and
outbreaker.parallel
). This is useful whenever several chains
were run and converged towards different posterior modes or
distributions. This can happen for instance when imported cases are
hard to disentangle, resulting in different runs identifying different
imports and therefore having different likelihood. Three modes are available, depending on the argument select
(see also arguments below):
visual
: (default) interactive mode plotting the
log-posterior values for the different chains and asking the user to
identify runs to be discarded.auto
: an automatic procedure is used to discard 'bad'
runs; see details.[numbers]
: numbers indicating the runs to be discarded.selectChains(x, select="visual", alpha=0.001, ...)
outbreaker
or outbreaker.parallel
.visual
or
auto
, or a vector of integers indicating the runs to be
discarded.plotChains
.